package cn.ekuma.epos.bean.util.sale;

import cn.ekuma.epos.bean.util.TaxsHelper;

import com.openbravo.bean.Tax;
import com.openbravo.bean.shard.I_WarpEntity;
import com.openbravo.bean.shard.IncludeTaxs;

public class TaxWarp implements I_WarpEntity<IncludeTaxs>{
	IncludeTaxs tax;
	
	public TaxWarp(IncludeTaxs tax){
		this.tax=tax;
	}
	
	public String printSubTotal() {
        return TaxsHelper.printSubTotal(tax);
    }
	
    public String printTax() {
        return TaxsHelper.printTax(tax);
    }
    
    public  String printTotal() {
        return TaxsHelper.printTotal(tax);
    }
    
    public Tax getTaxInfo() {
        return tax.getTaxInfo();
    }

	@Override
	public IncludeTaxs getWarpBean() {
		return tax;
	}
}
